<link rel="stylesheet" href="{$site_css}symbionts/page.css" type="text/css" media="screen" />
<script type="text/javascript" src="{$site_js}symbionts/page.js"></script>
<script type="text/javascript">
$(document).ready(function(){
{&js}
});
</script>
<div class="sym_page">
<form action="" method="post">
<div class="sym_page_row"><label>{@sym_page_name}</label>
    <input type="hidden" id="sym_page_current_id" name="id" value="{&val_id}" />
    <input type="hidden" id="sym_page_current_name" name="current_name" value="{&val_name}" />
    <input type="text" id="sym_page_name" name="name" value="{&val_name}" />
    <img id="sym_page_loading" class="loading" src="{$site_img}symbiosis/loading-circle.gif" />
</div>
{&labels_temp=}
<fieldset>
    <legend><b>{&abbr}</b></legend>
<div class="sym_page_row"><label>{@sym_page_title}</label><input type="text" name="title[{&lid}]" value="{&val_title}" /></div>
<div class="sym_page_row"><label>{@sym_page_keywords}</label><input type="text" name="keywords[{&lid}]" value="{&val_keywords}" /></div>
<div class="sym_page_row"><label>{@sym_page_description}</label><input type="text" name="description[{&lid}]" value="{&val_description}" /></div>
</fieldset>
{/&labels_temp}
{&labels}
<div class="sym_page_row"><label>{@sym_page_parent}</label><select name="parent"><option value="0">{@sym_page_noParent}</option>{&parents}</select></div>
<div class="sym_page_row"><label>{@sym_page_template}</label><input type="text" name="template" value="{&val_template}" /></div>

<div class="sym_page_row">
        <label>{@sym_page_symbionts}</label>
        <label class="sym_page_add_first"><a href="#"><img src="{$site_img}symbiosis/plus.png" /></a></label>
</div>
<div id="sym_page_row_symbiont_0" class="sym_page_row_symbiont">
    <fieldset>
        <legend>
            <label>1</label>
        </legend>
        <div class="sym_page_row">
            <label>{@sym_page_symbiont_name}</label>
            <select name="symbiont[0]" class="sym_page_select sym_page_symbionts"><option value="">{@sym_page_select_symbiont}</option>{&symbionts}</select>
        </div>
        <div class="sym_page_row">
            <label>{@sym_page_symbiont_method}</label>
            <select name="function[0]" class="sym_page_select sym_page_functions"></select>
            <img src="{$site_img}symbiosis/loading-horizontal.gif" class="loading" />
        </div>
        <div class="sym_page_row">
            <label>{@sym_page_symbiont_addation}</label>
            <input class="sym_page_addation" name="addation[0]" type="text" value="{&symbiont_addation}" />
        </div>
        <div class="sym_page_row">
            <label>{@sym_page_symbiont_access}</label>
            <input class="sym_page_access" name="access[0]" type="text" value="{&symbiont_access}" />
        </div>
    </fieldset>
    <label class="sym_page_add"><a href="#"><img src="{$site_img}symbiosis/plus.png" /></a></label>
    <label class="sym_page_del"><a href="#"><img src="{$site_img}symbiosis/minus.png" /></a></label>
</div>
<div class="sym_page_row"><label>{@sym_page_home}</label><input type="checkbox" name="home" {&checked_home} /></div>
<div class="sym_page_row"><label>{@sym_page_active}</label><input type="checkbox" name="active" {&checked_active} /></div>
<div class="sym_page_row"><label>{@sym_page_hidden}</label><input type="checkbox" name="hidden" {&checked_hidden} /></div>
<div class="sym_page_row"><label>{@sym_page_404}</label><input type="checkbox" name="404" {&checked_404} /></div>
<div class="sym_page_row"><label>{@sym_page_accessLevel}</label><input type="text" name="access_level" value="{&val_access_level}" /></div>
<div class="sym_page_row_controls">
    <input type="image" src="{$site_img}symbiosis/save.png" disabled="disabled" value="{@sym_page_save}" />
    <a href="{$link_full}"><img title="{@sym_page_cencel}" src="{$site_img}symbiosis/cancel.png" /></a>
</div>
</form>
</div>
{&symbiont_temp=}<option {&symbiont_selected}>{&symbiont_name}</option>{/&symbiont_temp}
{&parent_temp=}<option value="{&parent_id}" style="background: {&background}" {&selected}>{&parent_name}</option>{/&parent_temp}